<template>
  <ToolbarItemContainer
    :iconFile="imageToolbarIcon"
    title="语音聊天"
    :needDialog="false"
    @onIconClick="onIconClick"
  >
  </ToolbarItemContainer>
</template>
<script  >
import ToolbarItemContainer from "../toolbar-item-container/index.vue";
import imageIcon from "../../../../assets/icon/voice-im.png";

export default{
	data(){
		return{
			
		}
	},
	components:{
		ToolbarItemContainer
	},
	computed: {
		imageToolbarIcon(){
			return imageIcon
		}
	},
	methods:{
		onIconClick(){
			this.user.CallTUICallKit({
				type: 3
			})
		}
	}
}
</script>
